#pragma once

#include<iostream>
#include"Protocol.hpp"

class Task
{
    private:
       int sock;
        CallBack hander;

    public:
        Task(){}
        Task(int _sock)
            :sock(_sock)
        {}
        ~Task()
        {}
    public:
        void ProcessOn()
        {
            hander(sock);
        }
};